package jobs.controller;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import jobs.pattern.design.ControllerComposite;
import jobs.pattern.design.DAOComposite;
import jobs.model.Degree;
import jobs.model.dao.DegreeDAO;

/**
 *
 * @author administrador
 */
@ManagedBean(name = "degrees")
public class DegreeController extends ControllerComposite<Degree> {

    @EJB
    private DegreeDAO dao;

    public DegreeController() {
        super(Degree.class);
    }

    @Override
    public DAOComposite<Degree> getDAO() {
        return dao;
    }
}
